<template>
  <div>
    <h1>Test组件</h1>
    <button @click="$emit('fn', xxx)">按钮</button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      xxx: 123,
    }
  },
}
</script>

<style></style>
